// 按钮样式调整
$RedColor: red;
$WhiteColor: #fff;
$BlueColor: #5a9cf8;
.el-card__body {
  padding: 10px !important;
}
// 删除按钮
// .deleteBtn {
//   color: $RedColor !important;
//   background-color: $WhiteColor !important;
//   border: 1px solid $RedColor !important;
//   &:hover {
//     color: $WhiteColor !important;
//     background-color: $RedColor !important;
//     border: 1px solid $RedColor !important;
//   }
// }
// 新增按钮
// .addBtn {
//   color: $WhiteColor !important;
//   background-color: $BlueColor !important;
//   border: 1px solid $BlueColor !important;
//   &:hover {
//     color: $WhiteColor !important;
//     background-color: $BlueColor !important;
//     border: 1px solid $BlueColor !important;
//   }
// }
// // 功能按钮
// .gongNengBtn {
//   color: $BlueColor !important;
//   background-color: $WhiteColor !important;
//   border: 1px solid $BlueColor !important;
//   &:hover {
//     color: $WhiteColor !important;
//     background-color: $BlueColor !important;
//     border: 1px solid $BlueColor !important;
//   }
// }
// 按钮
.Button {
  width: 88px !important;
}
// 消息提示四种类型
$messageTop: 118px;
.el-message--success {
  top: $messageTop !important;
}
.el-message--warning {
  top: $messageTop !important;
}
.el-message--message {
  top: $messageTop !important;
}
.el-message--error {
  top: $messageTop !important;
}
.el-dialog {
  margin: $messageTop auto !important;
}

// 二级路由的侧边栏
.el-sub-menu__title {
  height: 30px !important;
  color: $BaiSe !important;
  background-color: $ShenSeBeiJing !important;
  .el-menu-item {
    min-width: none;
    &:hover {
      background-color: $ShenSeBeiJing;
    }
  }
}
.submenu-title-noDropdown {
  padding: 0 10px;
}

.el-menu-item {
  .is-active {
    padding: 0 5px;
  }
}
.nest-menu {
  // padding-right: 12px !important;
  background-color: $ShenSeBeiJing;
  border-radius: 10px !important;
}

// 表格100%自适应
.el-table--scrollable-y .el-table__body-wrapper {
  overflow-y: auto;
}
.container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  // 高度自适应
  // height: 100%;
  .table {
    flex: 1;
    position: relative;
    ::v-deep(.el-table) {
      position: absolute;
    }
  }
}
